package com.meteor.api.feign.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

/**
 * 商户列表
 *
 * @author lynn
 * @date 2024/1/03
 */
@Data
@Schema(description = "商户")
public class SysMerchantDTO implements Serializable {


    private String id;

    @Schema(description = "商户名称", required = true)
    @NotBlank(message = "商户名称不能为空")
    private String name;

    @Schema(description = "商户编号", required = true)
    @NotBlank(message = "商户编号不能为空")
    private String merchantCode;

    @Schema(description = "商户地址", required = true)
    private String address;

    @Schema(description = "商户联系人")
    private String contact;

    @Schema(description = "商户联系电话")
    private String phone;

    @Schema(description = "组织id")
    private String orgId;

    @Schema(description = "组织名称")
    private String orgName;


}